package com.net.xpay.common.dao.partner;

import com.net.xpay.common.domain.partner.PartnerAccountLog;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import com.net.xpay.core.enums.AccountBillType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@DataCommon
@Repository
public interface PartnerAccountLogMapper extends PagedMapper<Long, PartnerAccountLog> {
    PartnerAccountLog findLastByType(@Param("partnerId") Long partnerId, @Param("type") AccountBillType type);
}
